package com.pinda.service.impl;


import com.pinda.mapper.PdOrderMapper;
import com.pinda.oms.entity.PdOrder;
import com.pinda.oms.entity.PdOrderAndTransport;
import com.pinda.service.IPdOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 订单 服务实现类
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-13
 */
@Service
public class PdOrderServiceImpl extends ServiceImpl<PdOrderMapper, PdOrder> implements IPdOrderService {

    @Resource
    PdOrderMapper pdOrderMapper;


    @Override
    public List<PdOrder> queryone(PdOrder search) {
            return pdOrderMapper.queryone(search);

    }

    @Override
    public List<PdOrderAndTransport> findOrderTransport(PdOrderAndTransport search) {
        return pdOrderMapper.findOrderTransport(search);
    }


}
